.container {
  padding: 20px;
  background-color: #f0f2f5;
  min-height: 100vh;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
}

.titleContainer {
  display: flex;
  flex-direction: column;
}

.title {
  margin: 0 0 4px 0 !important;
  color: #1f2329;
  font-weight: 600;
}

.subtitle {
  margin: 0 !important;
  color: #8c8c8c;
  font-size: 14px;
}

.filterContainer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.filterItem {
  margin-bottom: 0 !important;
}

.refreshIcon {
  cursor: pointer;
  font-size: 16px;
  color: #1890ff;
  &:hover {
    color: #40a9ff;
  }
}

.metricsRow {
  margin-bottom: 24px;
}

.metricCard {
  height: 100%;
  transition: all 0.3s;
  &:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
}

.metricChange {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
}

.chartTabs {
  margin-bottom: 24px;
}

.chartCard {
  margin-bottom: 16px;
  transition: all 0.3s;
  &:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
}

.tableRow {
  margin-bottom: 24px;
}

.tableCard {
  transition: all 0.3s;
  &:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
}

// 响应式设计
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .filterContainer {
    width: 100%;
    flex-wrap: wrap;
  }
  
  .filterItem {
    flex: 1;
    min-width: 120px;
  }
  
  .metricsRow {
    .ant-col-6 {
      flex: 0 0 100%;
      max-width: 100%;
      margin-bottom: 16px;
    }
  }
  
  .chartTabs {
    .ant-col-12 {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }
  
  .tableRow {
    .ant-col-12 {
      flex: 0 0 100%;
      max-width: 100%;
      margin-bottom: 16px;
    }
  }
}

// 骨架屏样式
.skeletonCard {
  margin-bottom: 16px;
}

// 加载动画
.loadingContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

// 卡片标题样式
.ant-card-head-title {
  font-weight: 600;
  font-size: 16px;
}

// 表格样式优化
.ant-table-thead > tr > th {
  background-color: #fafafa;
  font-weight: 600;
  font-size: 14px;
}

.ant-table-tbody > tr:hover > td {
  background-color: #fafafa;
}

// 标签页样式优化
.ant-tabs-nav-wrap {
  padding: 0 16px;
}

.ant-tabs-tab {
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  &.ant-tabs-tab-active {
    color: #1890ff;
    font-weight: 600;
  }
}

.ant-tabs-ink-bar {
  background-color: #1890ff;
  height: 3px;
}

// 卡片阴影效果
.ant-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

// 统计数字样式优化
.ant-statistic-title {
  font-size: 14px;
  color: #8c8c8c;
  margin-bottom: 8px;
}

.ant-statistic-content {
  font-size: 32px;
  font-weight: 600;
}

.ant-statistic-content-prefix {
  font-size: 24px;
  margin-right: 8px;
}

.ant-statistic-content-suffix {
  font-size: 16px;
  margin-left: 4px;
}